package com.kaily.timemanager.obj;

import java.util.List;

/**
 * Created by zhoulikai on 17/2/27.
 */

public class Task {

    private String taskId = "";
    //任务名称
    public String taskName = "";
    //任务开始的时间
    public long taskStartTime;
    //任务结束的时间
    public long taskEndTime;

    //任务是否开启提醒
    public int taskRemindStatus;

    private List<Task> tasks;

    public void setTasks(List<Task> tasks) {
        this.tasks = tasks;
    }

    public List<Task> getTasks() {
        return tasks;
    }

    //任务完成状态

    public Task() {

    }

    public Task(String taskId, String taskName, long taskStartTime,
                long taskEndTime, int taskRemindStatus, int taskDoStatus, String taskParentId,
                String taskClassId, int taskPriority, String taskLabel,
                String taskFlag, String taskExtra) {
        this.taskId = taskId;
        this.taskName = taskName;
        this.taskStartTime = taskStartTime;
        this.taskEndTime = taskEndTime;
        this.taskRemindStatus = taskRemindStatus;
        this.taskDoStatus = taskDoStatus;
        this.taskParentId = taskParentId;
        this.taskClassId = taskClassId;
        this.taskPriority = taskPriority;
        this.taskLabel = taskLabel;
        this.taskFlag = taskFlag;
        this.taskExtra = taskExtra;
    }

    public int taskDoStatus;

    //任务所属的父任务
    public String taskParentId = "";

    //任务的类型
    public String taskClassId = "";

    //任务优先级
    public int taskPriority;

    //任务标签
    public String taskLabel = "";

    //任务标志（普通、循环任务）
    public String taskFlag = "";

    //任务额外的字段
    public String taskExtra = "";

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public long getTaskStartTime() {
        return taskStartTime;
    }

    public void setTaskStartTime(long taskStartTime) {
        this.taskStartTime = taskStartTime;
    }

    public long getTaskEndTime() {
        return taskEndTime;
    }

    public void setTaskEndTime(long taskEndTime) {
        this.taskEndTime = taskEndTime;
    }

    public int getTaskRemindStatus() {
        return taskRemindStatus;
    }

    public void setTaskRemindStatus(int taskRemindStatus) {
        this.taskRemindStatus = taskRemindStatus;
    }

    public int getTaskDoStatus() {
        return taskDoStatus;
    }

    public void setTaskDoStatus(int taskDoStatus) {
        this.taskDoStatus = taskDoStatus;
    }

    public String getTaskParentId() {
        return taskParentId;
    }

    public void setTaskParentId(String taskParentId) {
        this.taskParentId = taskParentId;
    }

    public String getTaskClassId() {
        return taskClassId;
    }

    public void setTaskClassId(String taskClassId) {
        this.taskClassId = taskClassId;
    }

    public int getTaskPriority() {
        return taskPriority;
    }

    public void setTaskPriority(int taskPriority) {
        this.taskPriority = taskPriority;
    }

    public String getTaskLabel() {
        return taskLabel;
    }

    public void setTaskLabel(String taskLabel) {
        this.taskLabel = taskLabel;
    }

    public String getTaskFlag() {
        return taskFlag;
    }

    public void setTaskFlag(String taskFlag) {
        this.taskFlag = taskFlag;
    }

    public String getTaskExtra() {
        return taskExtra;
    }

    public void setTaskExtra(String taskExtra) {
        this.taskExtra = taskExtra;
    }
}
